package com.heatup.apt.model;

import java.util.Date;

public class Resource {

    private Integer id;
    private String resType;
    private String parentType;
    private Integer parentId;
    private String resKey;
    private String title;
    private String url;
    private String link;
    private Integer viewCount;
    private Integer likeCount;
    private Integer sortNum;
    private String hot;
    private Integer createdBy;
    private Date createdTime;
    private Integer resourceParentId;
    private String text;
    private String isTop;
    private String duration;
    private String lable;
    private Integer authorId;
    private String authorName;
    private String videoClass;
    private String status;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table resource
     *
     * @mbggenerated
     */
    public Resource(Integer id, String resType, String parentType, Integer parentId, String resKey, String title, String url, String link, Integer viewCount, Integer likeCount, Integer sortNum, String hot, Integer createdBy, Date createdTime, Integer resourceParentId, String text, String isTop, String duration, String lable, Integer authorId, String authorName, String videoClass,String status) {
        this.id = id;
        this.resType = resType;
        this.parentType = parentType;
        this.parentId = parentId;
        this.resKey = resKey;
        this.title = title;
        this.url = url;
        this.link = link;
        this.viewCount = viewCount;
        this.likeCount = likeCount;
        this.sortNum = sortNum;
        this.hot = hot;
        this.createdBy = createdBy;
        this.createdTime = createdTime;
        this.resourceParentId = resourceParentId;
        this.text = text;
        this.isTop = isTop;
        this.duration = duration;
        this.lable = lable;
        this.authorId = authorId;
        this.authorName = authorName;
        this.videoClass = videoClass;
        this.status = status;
    }


    public Resource() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getResType() {
        return resType;
    }

    public void setResType(String resType) {
        this.resType = resType;
    }

    public String getParentType() {
        return parentType;
    }

    public void setParentType(String parentType) {
        this.parentType = parentType;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getResKey() {
        return resKey;
    }

    public void setResKey(String resKey) {
        this.resKey = resKey;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Integer getSortNum() {
        return sortNum;
    }

    public void setSortNum(Integer sortNum) {
        this.sortNum = sortNum;
    }

    public String getHot() {
        return hot;
    }

    public void setHot(String hot) {
        this.hot = hot;
    }

    public Integer getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Integer createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getResourceParentId() {
        return resourceParentId;
    }

    public void setResourceParentId(Integer resourceParentId) {
        this.resourceParentId = resourceParentId;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getIsTop() {
        return isTop;
    }

    public void setIsTop(String isTop) {
        this.isTop = isTop;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getLable() {
        return lable;
    }

    public void setLable(String lable) {
        this.lable = lable;
    }

    public Integer getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Integer authorId) {
        this.authorId = authorId;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public String getVideoClass() {
        return videoClass;
    }

    public void setVideoClass(String videoClass) {
        this.videoClass = videoClass;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}